package com.peng.rpc.enumeration;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author Wonderson
 * @email wpp.ds@foxmail.com
 * @date 2022/3/1 20:35
 */
@AllArgsConstructor
@Getter
public enum SerializerCode {
    /**
     * KRYO序列化
     */
    KRYO(0),

    /**
     * JSON序列化
     */
    JSON(1),

    HESSIAN(2),

    PROTOBUF(3);

    private final int code;

}
